﻿using MediatR;

namespace Enterprise_Set.API.Application.Commands.Week1.BusinessEntities
{
    /// <summary>
    /// 部门添加字段
    /// </summary>
    public class DepartmentCreateCommand:IRequest<THE_WIND_RISES.Common.Dtos.Result>
    {

        /// <summary>
        /// 主键
        /// </summary>
        public int DepartmentId { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool DepartmentStatus { get; set; }

        /// <summary>
        /// 节点编码
        /// </summary>
        public string NodeEncoding { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartmentName { get; set; }

        /// <summary>
        /// 企业编号
        /// </summary>
        public int EnterpriseId { get; set; }

        /// <summary>
        /// 部门上级Id
        /// </summary>
        public int PId { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
